package com.wtb.javatool.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("student")
public class Student {

    @TableId(value="id")
    private Long id;

    @TableField(value = "user_id")
    private Long userId;

    @TableField(value = "student_num")
    private Long studentNum;

    @TableField(value = "student_name")
    private String studentName;

    @TableField(value = "administrative_class")
    private String administrativeClass;

    @TableField(value = "grade")
    private String grade;

    @TableField(value = "phone_num")
    private Character phoneNum;

    @TableField(value = "wechat_account")
    private String wechatAccount;

    @TableField(value = "major")
    private String major;
}
